Function Subspace :: _f64 literal

auto operator""_f64(long double val) -> f64

For writing f64 literals.

Floating point literals without a qualifier are also 64 bits large, but the _f64 suffix forces a safe numeric type instead of a primitive value when this is needed (such as for templates or member function access).

Integer values that are not representable by f64 will converted by the same rules as for Cast.

Examples

auto i = 123_f64- (5_f64).abs();
sus_check(i == 118_f64);